package com.huilian.iotbox.admin.service.impl;

import com.huilian.iotbox.admin.dao.DeviceTypeDao;
import com.huilian.iotbox.admin.service.DeviceTypeService;
import com.huilian.iotbox.data.po.DeviceType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DeviceTypeServiceImpl implements DeviceTypeService {

    @Resource
    private DeviceTypeDao deviceTypeDao;

    @Override
    public List<DeviceType> findAllDeviceType() {
        return deviceTypeDao.findAllDeviceType();
    }
}
